const axios = require('axios')
async function getVersion() {
  const res = await axios.head('https://www.huorong.cn/product/download.php?pro=appstore')
  const downloadurl = res.request.res.responseUrl
  const version = downloadurl.match(/-(.*?)\.exe/)[1]
  console.log(version)
}
getVersion()